#ifndef TEXT_H
#define TEXT_H


#include <SDL/SDL_image.h>
#include <string>
#include <SDL/SDL_ttf.h>

using std::string;

class Text
{
   public:
       Text(string, string, float, float, int, int, int, int, int);
       ~Text();

       float x;
       float y;

       void Render(SDL_Surface* screen);
       void changeText(string);
       void changeStyle(int);
       void changeColor(int,int,int );
       void changeSize(int);

   private:
       TTF_Font* font;
       string text;
       string fontFile;
       int style;
       SDL_Surface* textSurface;
       SDL_Color collor;
       SDL_Rect rect;
};

#endif // TEXT_H
